﻿using Microsoft.AspNetCore.Mvc;

namespace Medlcalcare.MVC.Controllers
{
    public class RegistrationController : Controller
    {
        private readonly IConfiguration _configuration;

        public RegistrationController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        public IActionResult ShowRegistration()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        public IActionResult IndexRegistration()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
